﻿using System;
using System.Threading.Tasks;

class Program
{
    static async Task Main(string[] args)
    {
        double a = 2.5, b = 3.7;

        Console.WriteLine($"计算 {a}^58 + {b}^50");

        var task1 = Task.Run(() => Math.Pow(a, 58));
        var task2 = Task.Run(() => Math.Pow(b, 50));

 
        double result = await task1 + await task2;

        Console.WriteLine($"结果: {result:E6}");
        Console.ReadKey();
    }
}